package com.dyn.videohub.Common;

import lombok.AllArgsConstructor;
import lombok.Getter;

//通用报错信息枚举
@Getter
@AllArgsConstructor
public enum CommonErrorEnums {
    REPORT_SUCCESS(100,"举报成功！"),
    REPORT_ERROR(101,"举报失败，请勿重复举报！"),
    DEAL_REPORT_ERROR(102,"出错了！"),
    DEAL_REPORT_SUCCESS(103,"删除成功！"),
    NO_USER_ERROR(201,"无此用户，请前往注册！"),
    USERNAME_OR_PASSWORD_ERROR(202,"账号或密码错误！"),
    USER_ALREADY_EXIST(203,"用户已存在，请前往登录！"),
    VALIDATE_CODE_ERROR(204,"验证码错误！");
    private final Integer code;
    private final String name;
}
